package VO;

import java.util.ArrayList;
import Promotion.*;

public class DiscountsForUserVO {
	
	private ArrayList<DiscountsVO>  DiscountsForUserlist;
	
	public DiscountsForUserVO(DiscountsForUser dis){
		this.DiscountsForUserlist=new ArrayList<DiscountsVO>();
		for(int i=0;i<dis.getDiscountsForUserlist().size();i++)
			DiscountsForUserlist.add(new DiscountsVO(dis.getDiscountsForUserlist().get(i)));
	}

	public DiscountsForUserVO(){}
	
	//getter,setter
	public ArrayList<DiscountsVO> getDiscountsForUserlist() {
		return DiscountsForUserlist;
	}
}
